<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>My JSP 'updateUser.jsp' starting page</title>
    
  </head>
  
  <body>
    
	<h1><font color="red">Update User</font></h1>
	
	<s:form action="updateUser">
	
		<s:hidden name="user.id" value="%{user.id}"></s:hidden>
		<s:textfield name="user.username" label="用户名" value="%{user.username}"></s:textfield>
		<s:textfield name="user.password" label="密码" value="%{user.password}"></s:textfield>
		<s:textfield name="user.age" label="年龄" value="%{user.age}"></s:textfield>
		<s:submit></s:submit>	
	</s:form>    
    
  </body>
</html>
